package com.leicx.guli.order.feign;

import com.leicx.guli.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author daxiong
 * @date 2022/8/9 下午5:13
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {

    /**
     * 查询当前用户购物车选中的商品项
     *
     * @param
     * @return java.util.List<com.leicx.guli.order.vo.OrderItemVo>
     * @author daxiong
     * @date 2022/8/9 下午5:27
     */
    @GetMapping(value = "/currentUserCartItems")
    List<OrderItemVo> getCurrentCartItems();
}
